import request from '@/utils/request'

// 获取WiFi认证配置
export function getWifiConfig() {
  return request({
    url: '/third-party/wifi/config',
    method: 'get'
  })
}

// 更新WiFi认证配置
export function updateWifiConfig(data) {
  return request({
    url: '/third-party/wifi/config',
    method: 'put',
    data: data
  })
}

